package cn.iocoder.yudao.module.nmkj.controller.admin.tag.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 标签管理新增/修改 Request VO")
@Data
public class TagSaveReqVO {

    @Schema(description = "标签ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15445")
    private Long id;

    @Schema(description = "标签名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "标签名不能为空")
    private String tagName;

    @Schema(description = "分类类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "分类类型不能为空")
    private Long type;

    @Schema(description = "绑定文章", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "绑定文章不能为空")
    private Long bindArticleId;

    @Schema(description = "排序权值")
    private Long sort;

    @Schema(description = "状态", example = "1")
    private Integer status;

}